

class FollowItem {
  String? userId;
  int? userType;
  String? nickname;
  String? avatar;
  String? avatarUrl;
  int? gender;
  String? birthday;
  int? age;
  String? language;
  String? country;
  String? about;
  bool? isSpecialFollow;
  String? onlineStatus;
  int? level;
  int? grade;
  bool? isVip;

  FollowItem(
      {this.userId,
        this.userType,
        this.nickname,
        this.avatar,
        this.avatarUrl,
        this.gender,
        this.birthday,
        this.age,
        this.language,
        this.country,
        this.about,
        this.isSpecialFollow,
        this.onlineStatus,
        this.level,
        this.grade,
        this.isVip});

  FollowItem.fromJson(Map<String, dynamic> json) {
    userId = json['userId'];
    userType = json['userType'];
    nickname = json['nickname'];
    avatar = json['avatar'];
    avatarUrl = json['avatarUrl'];
    gender = json['gender'];
    birthday = json['birthday'];
    age = json['age'];
    language = json['language'];
    country = json['country'];
    about = json['about'];
    isSpecialFollow = json['isSpecialFollow'];
    onlineStatus = json['onlineStatus'];
    level = json['level'];
    grade = json['grade'];
    isVip = json['isVip'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['userId'] = this.userId;
    data['userType'] = this.userType;
    data['nickname'] = this.nickname;
    data['avatar'] = this.avatar;
    data['avatarUrl'] = this.avatarUrl;
    data['gender'] = this.gender;
    data['birthday'] = this.birthday;
    data['age'] = this.age;
    data['language'] = this.language;
    data['country'] = this.country;
    data['about'] = this.about;
    data['isSpecialFollow'] = this.isSpecialFollow;
    data['onlineStatus'] = this.onlineStatus;
    data['level'] = this.level;
    data['grade'] = this.grade;
    data['isVip'] = this.isVip;
    return data;
  }
}